import matplotlib.pyplot as plt


if __name__ == "__main__":
    # 示例灰度值数组
    gray_values = [
        25453.00,
        25660.00,
        25862.00,
        26061.00,
        26131.00,
        25990.00,
        25776.00,
        25644.00,
        25548.00,
        25457.00,
        25334.00,
        25206.00,
        25172.00,
        25216.00,
        25277.00,
        25386.00,
        25512.00,
        25654.00,
        25816.00,
        25959.00,
        26076.00,
        26183.00,
        26367.00,
        26746.00,
        27374.00,
        28197.00,
        29044.00,
        29764.00,
        30292.00,
        30595.00,
        30655.00,
        30477.00,
        30111.00,
        29698.00,
        29347.00,
        29116.00,
        28972.00,
        28826.00,
        28574.00,
        28271.00,
        27937.00,
        27588.00,
        27269.00,
        27018.00,
        26795.00,
        26592.00,
        26299.00,
        26074.00,
        25857.00,
        25614.00,
        25324.00,
        24990.00,
        24871.00,
        25201.00,
        26327.00,
        28391.00,
        30688.00,
        32314.00,
        33223.00,
        33294.00,
        32691.00,
        31426.00,
        29197.00,
        26752.00,
        24968.00,
        23908.00,
        23498.00,
        23412.00,
        23154.00,
        22942.00,
        22757.00,
        22595.00,
        22474.00,
        22365.00,
        22289.00,
        22241.00,
        22260.00,
        22261.00,
        22246.00,
        22220.00,
        22179.00,
        22158.00,
        22231.00,
        22472.00,
        22991.00,
        23610.00,
        23925.00,
        24012.00,
        23863.00,
        23498.00,
        22916.00,
        22050.00,
        21074.00,
        20323.00,
    ]
    plt.plot(gray_values)
    plt.show()
